/**
 * @description Menus 菜单栏 入口文件
 * @author wangfupeng
 */

import MenuConstructorList from './menu-list';

export default function (editor) {
    if (!editor) return;
    for (let key in MenuConstructorList) {
        editor.menus.extend(key, MenuConstructorList[key])
    }
}
